\documentclass[tikz,border=2mm]{standalone}
\usepackage{array,amsmath,mathptmx,xcolor,bbding,pifont,colortbl,amssymb}
\usepackage[UTF8]{ctex}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
% 只需要这个就可以
\usepackage[thicklines]{cancel}

% 可以设置线条颜色，默认是黑色
\usepackage{xcolor}
\renewcommand{\CancelColor}{\color{red}} 
\usepackage{tikz-cd}
\usepackage{tikz,graphicx,subfig,caption} % Required for drawing custom shapes
\usetikzlibrary{fit,matrix,chains,arrows,shapes,positioning,arrows.meta,chains,shadows,shapes.callouts,decorations.text,shapes.symbols,shapes.misc, positioning,decorations.pathreplacing,calc,backgrounds}
\arrayrulecolor{red}
% 设置浅蓝色
\definecolor{lightblue1}{RGB}{175, 175, 237}
\definecolor{lightgreen1}{RGB}{226, 246, 186}
\definecolor{lightpink}{RGB}{255, 202, 203}
\definecolor{lightblue2}{RGB}{205, 235, 255}
% 设定删除线颜色
\renewcommand{\CancelColor}{\color{blue}}

\begin{document}
	\begin{tikzpicture}[>=latex,every node/.style={inner sep=0.2em}]
		\node[align=left,rounded corners=0.5em] at (5em,0) (point1){
			【算法】 \\
			\hspace{1em} (1)扩展文法，\color{blue}构造句柄识别器；\\
			\hspace{1em} (2)根据\color{blue}句柄识别器，\color{black} 填写\color{red}LR(0)分析表: \\
			\hspace{2em} \ding{172} 若$\delta$(i,x)=k, x$\in$($V_N+V_T$),则R(i,x) := \color{red}xk ;\\
			\hspace{2em} \ding{173} 若 状态i 标记有 （-,r(j)）, \\
			\hspace{3em} 则 对任何 a $\in$($V_T+{\#}$), R(i,a):=\color{red}r(j) ; \\
			\hspace{2em} \ding{174} R(1, \#) := \color{red}OK 。
			
		};
		
		\begin{pgfonlayer}{background}
			\node [draw=black,fill=lightpink ,rounded corners=0.5em,rectangle, inner sep=0.2em,line width=0.0025em][fit=(point1)](box1){};
		\end{pgfonlayer}
		
		
	\end{tikzpicture}
\end{document}